import request from '@/utils/request'

// 订单退款审核列表
export function apiOrderRefundRecordLists(params: any) {
    return request.get({ url: '/order_refund_record/lists', params })
}

// 添加订单退款审核
export function apiOrderRefundRecordAdd(params: any) {
    return request.post({ url: '/order_refund_record/add', params })
}

// 编辑订单退款审核
export function apiOrderRefundRecordEdit(params: any) {
    return request.post({ url: '/order_refund_record/edit', params })
}

// 删除订单退款审核
export function apiOrderRefundRecordDelete(params: any) {
    return request.post({ url: '/order_refund_record/delete', params })
}

// 订单退款审核详情
export function apiOrderRefundRecordDetail(params: any) {
    return request.get({ url: '/order_refund_record/detail', params })
}

export  function apiConfirmOrder(data:any) {
    return request.post({
        url:'/OrderRefundRecord/shenhe',
        data,
    })
}
export  function apiCancelOrder(data:any) {
    return request.post({
        url:'/OrderRefundRecord/bohui',
        data,
    })
}
